using pixolut.BizBlox;

public class Student : DataObject
{

//START BizBlox Generated Code : Do not remove or alter this comment
//Last Updated : Friday, 30 March 2007 3:00:52 PM
//BizBlox Version : 1.2.1.0
#region "BizBlox Generated Code"


// Start BizBloxBuilder Metadata
// $Identifier = +InheritedElements
// $DoNotModify = False


    public Student():base(){
    }

    public Student(System.Guid uid) : base(uid){
    }

    public new enum Columns {
        StudentID,
        Name,
        Email,
        Age
    }

    public override string TableName() {
        return "Student";
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = StudentID
// $DoNotModify = False

    private System.Guid m_StudentID;
    [Persist(), PrimaryKey()]
    public System.Guid StudentID{
        get {
            return m_StudentID;
        }
        set {
            this.Touch();
            m_StudentID = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = Name
// $DoNotModify = False

    private System.String m_Name;
    [Persist()]
    public System.String Name{
        get {
            return m_Name;
        }
        set {
            this.Touch();
            m_Name = value;
        }
    }

// End BizBloxBuilder Metadata

    // Start BizBloxBuilder Metadata
    // $Identifier = Name
    // $DoNotModify = False

    private System.String m_Password;
    [Persist(), PropertyFilter(typeof (PropertyEncryptor)) ]
    public System.String Password
    {
        get
        {
            return m_Name;
        }
        set
        {
            this.Touch();
            m_Name = value;
        }
    }

    // End BizBloxBuilder Metadata


// Start BizBloxBuilder Metadata
// $Identifier = Email
// $DoNotModify = False

    private System.String m_Email;
    [Persist()]
    public System.String Email{
        get {
            return m_Email;
        }
        set {
            this.Touch();
            m_Email = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = Age
// $DoNotModify = False

    private System.Int32 m_Age;
    [Persist()]
    public System.Int32 Age{
        get {
            return m_Age;
        }
        set {
            this.Touch();
            m_Age = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = +OtherElements
// $DoNotModify = False

// End BizBloxBuilder Metadata

#endregion

//END BizBlox Generated Code : Do not remove or alter this comment

}